package com.alex.core.domain.elastice;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class CarChargeHis implements Serializable {
    private Integer id;

    @ApiModelProperty(value = "设备号")
    private String deviceNumber;

    private Integer orderId;

    @ApiModelProperty(value = "取消指令")
    private String cancelInstruct;

    @ApiModelProperty(value = "交流电压")
    private Integer ac;

    @ApiModelProperty(value = "当前电流")
    private Integer currentElectric;

    @ApiModelProperty(value = "当前功率")
    private Integer pw;

    @ApiModelProperty(value = "当前电量(百倍)")
    private Integer nowElectric;

    @ApiModelProperty(value = "开始电量(百倍)")
    private Integer startElectric;

    @ApiModelProperty(value = "使用电量(百倍)")
    private Integer useElectric;

    @ApiModelProperty(value = "设备路数")
    private Integer deviceWays;

    @ApiModelProperty(value = "接口电压")
    private Integer voltage;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getCancelInstruct() {
        return cancelInstruct;
    }

    public void setCancelInstruct(String cancelInstruct) {
        this.cancelInstruct = cancelInstruct == null ? null : cancelInstruct.trim();
    }

    public Integer getAc() {
        return ac;
    }

    public void setAc(Integer ac) {
        this.ac = ac;
    }

    public Integer getCurrentElectric() {
        return currentElectric;
    }

    public void setCurrentElectric(Integer currentElectric) {
        this.currentElectric = currentElectric;
    }

    public Integer getPw() {
        return pw;
    }

    public void setPw(Integer pw) {
        this.pw = pw;
    }

    public Integer getNowElectric() {
        return nowElectric;
    }

    public void setNowElectric(Integer nowElectric) {
        this.nowElectric = nowElectric;
    }

    public Integer getStartElectric() {
        return startElectric;
    }

    public void setStartElectric(Integer startElectric) {
        this.startElectric = startElectric;
    }

    public Integer getUseElectric() {
        return useElectric;
    }

    public void setUseElectric(Integer useElectric) {
        this.useElectric = useElectric;
    }

    public Integer getDeviceWays() {
        return deviceWays;
    }

    public void setDeviceWays(Integer deviceWays) {
        this.deviceWays = deviceWays;
    }

    public Integer getVoltage() {
        return voltage;
    }

    public void setVoltage(Integer voltage) {
        this.voltage = voltage;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}